package com.example.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.entity.HmProgram;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface ProgramMapper extends BaseMapper<HmProgram> {
//    @Select("select * from order where quatation_id = #{quatationId};")
//    Order selectByQuatationId(String quatationId);
    @Delete("delete from hm_program where device_id = #{deviceId};")
    void deleteByDeviceId(Integer deviceId);
}
